package com.example.demo0317.service;

import com.example.demo0317.service.AirConditioner;
import org.springframework.stereotype.Component;

@Component
public class HighEfficiencyAirConditioner implements AirConditioner {



    @Override
    public void cool(int temperature) {
        System.out.println("High efficiency Air Conditioner is cooling.");
    }
}
